package com.ctg.itrdc.imageconsole.service;

import java.util.List;

import com.ctg.itrdc.imageconsole.data.dto.DockerImageIndexDTO;
import com.ctg.itrdc.imageconsole.data.entity.DockerImageTag;
import com.ctg.itrdc.paspsdk.common.entity.PageInfo;

public interface IDockerImageIndexService {
	
	List<DockerImageTag> selectByExample(DockerImageTag entity);
	
	DockerImageTag selectByPrimaryKey(DockerImageTag entity);
	
	int updateByPrimaryKey(DockerImageTag entity);
	
	int deleteByPrimaryKey(DockerImageTag entity);
	
	PageInfo<DockerImageIndexDTO> findByImageFileId(Long imageFileId, Integer currentPage, 
			Integer perPageNum) throws Exception ;
	
	List<DockerImageTag> findByImageFileIdAndVersion(Long imageFileId,String version);
	
}
